<template>
  <div class="box">
    <el-breadcrumb separator=">">
      <el-breadcrumb-item to="/login" replace>首页</el-breadcrumb-item>
      <el-breadcrumb-item>平台运营</el-breadcrumb-item>
      <el-breadcrumb-item to="/login/operation/coupon" replace>优惠券运营</el-breadcrumb-item>
      <el-breadcrumb-item to="/login/operation/couponShopInfo" replace>优惠券商户信息</el-breadcrumb-item>
      <el-breadcrumb-item>商户优惠券详情</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="tableBox">
      <div class="tableTitle">商户优惠券详情</div>
      <div class="searchBox">
        <el-form size="mini" inline>
          <div class="block">
            <el-form-item>
              <export-excel :tHeader="tHeader" :filterVal="filterVal" :tableData="tableData"></export-excel>
            </el-form-item>
          </div>
        </el-form>
      </div>
      <el-table :data="tableData">
        <el-table-column type="index" label="序列" width="60" align="center"></el-table-column>
        <el-table-column prop="" label="商户名称" align="center"></el-table-column>
        <el-table-column prop="" label="用户报名姓名" align="center"></el-table-column>
        <el-table-column prop="" label="用户实名" align="center"></el-table-column>
        <el-table-column prop="" label="用户手机号" align="center"></el-table-column>
        <el-table-column prop="" label="类别" align="center"></el-table-column>
        <el-table-column prop="" label="有效时间" align="center"></el-table-column>
        <el-table-column prop="" label="优惠内容" align="center"></el-table-column>
        <el-table-column prop="" label="核验时间" align="center"></el-table-column>
        <el-table-column prop="" label="当前状态" align="center"></el-table-column>
      </el-table>
      <pagination :maxTotal="maxTotal" @handleSize="handleSizeChange" @handleCurrent="handleCurrentChange"></pagination>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  import exportExcel from 'components/exportExcel'
  import pagination from 'components/pagination'

  export default {
    data () {
      return {
        maxTotal: 10,
        tableData: [],
        tHeader: [],
        filterVal: []
      }
    },
    created () {
    },
    methods: {
      handleSizeChange (val) {
      },
      handleCurrentChange (val) {
      }
    },
    components: {
      exportExcel,
      pagination
    }
  }
</script>

<style lang="less" ref="stylesheet/less" scoped>

</style>
